package com.cskaoyan.shopping.service.remote;

import com.cskaoyan.mall.api.CartChooseDelete;
import com.cskaoyan.shopping.dto.DeleteCheckedItemRequest;
import com.cskaoyan.shopping.dto.DeleteCheckedItemResposne;
import com.cskaoyan.mall.api.CartChooseDelete;
import com.cskaoyan.shopping.dto.DeleteCheckedItemRequest;
import com.cskaoyan.shopping.dto.DeleteCheckedItemResposne;
import com.cskaoyan.shopping.service.ICartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service

public class CartChooseDeleteImpl implements CartChooseDelete {
    @Autowired
    ICartService cartService;

    @Override
    public void cartClean(Long uid) {
        DeleteCheckedItemRequest request = new DeleteCheckedItemRequest();
        request.setUserId(uid);
        DeleteCheckedItemResposne resposne = cartService.deleteCheckedItem(request);
    }
}
